html,
body{
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background: url('../images/login_bg.jpg') no-repeat center;
  background-size: cover;
}

// 登陆注册区域
.loginAndRegBox{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 310px;
  background-color: #fff;
  transform: translate(-50%,-50%);

  .title-box{
    height: 60px;
    background: url('../images/login_title.png') no-repeat center;
  }

  .layui-form{
    padding: 0 30px;

    .links{
      display: flex;
      justify-content: flex-end;
    }

    .links a{
      font-size: 12px;
    }

    .layui-form-item{
      position: relative;

      .layui-icon{
        position: absolute;
        top: 10px;
        left: 10px;
      }

      .layui-input{
        text-indent: 32px;
      }
    }
  }

  .reg-box{
    display: none;
  }
}